Skip to content

Add visual AI readiness reports with batch processing#10

Merged
pierceboggan merged 6 commits intoprimer/vnextfrom
claude/create-ai-readiness-report
Feb 9, 2026
Merged

Add visual AI readiness reports with batch processing#10
pierceboggan merged 6 commits intoprimer/vnextfrom
claude/create-ai-readiness-report

Conversation

@Claude
Copy link
Copy Markdown
Contributor

@Claude Claude AI commented Feb 7, 2026

Implements beautiful HTML visual reports for AI readiness assessments, enabling teams to track and present readiness metrics across single or multiple repositories. Addresses the need for shareable, visually compelling reports that AI enablement teams can use to identify and prioritize improvements.

Core Changes

  • Visual Report Generator (src/services/visualReport.ts)

    • Self-contained HTML with embedded CSS (no external dependencies)
    • Summary cards: total repos, average readiness level, success rate
    • Pillar performance bars aggregated across repositories
    • Level distribution chart (1-5 maturity levels)
    • Per-repository details with prioritized fix lists
    • Gradient purple theme, fully responsive
  • Enhanced Readiness Command

    • --visual flag generates HTML reports
    • Smart output detection: .html extension auto-triggers visual mode
    • Backward compatible with existing text and JSON outputs
  • Batch Readiness Processing

    • New batch-readiness command for multi-repo analysis
    • Interactive TUI for organization and repository selection
    • Clones repos, runs readiness analysis, generates consolidated report
    • Automatic cleanup of temporary clone directories

Usage

# Single repository visual report
primer readiness --visual
primer readiness --output report.html

# Multi-repository consolidated report
primer batch-readiness --output team-readiness.html

Bug Fixes

  • Fixed incomplete bootstrapEvalConfig function in tui.tsx (syntax error from previous refactor)
  • Fixed GitHub API type mismatch: org.nameorg.description for organization objects

- Fix TypeScript syntax errors in tui.tsx and github.ts
- Create visual report generator service with beautiful HTML output
- Add --visual flag to readiness command for HTML reports
- Implement batch-readiness command for multi-repo visual reports
- Add BatchReadinessTui for interactive repository selection
- Support both GitHub and Azure DevOps repository sources
- Include summary cards, pillar performance, and level distribution charts
- Update documentation with visual report examples

Co-authored-by: pierceboggan <1091304+pierceboggan@users.noreply.github.com>
@Claude Claude AI changed the title [WIP] Add visual report for repository AI readiness Add visual AI readiness reports with batch processing Feb 7, 2026
@Claude Claude AI requested a review from pierceboggan February 7, 2026 03:45
- Added support for selecting and running evaluations with a new eval-pick status.
- Implemented batch processing options for GitHub and Azure DevOps.
- Introduced a logging mechanism to track activity and status updates.
- Enhanced user interface with spinner animations and improved status indicators.
- Refactored code to check for eval configuration on mount and display relevant messages.
- Updated command hints for better user guidance during interactions.
- Removed unused readiness report functionality and related types.
…rt generation

- Implement tests for `ensureDir` and `safeWriteFile` in `fs.test.ts`.
- Create comprehensive tests for `runReadinessReport` in `readiness.test.ts`, covering various criteria and pillars.
- Add tests for `generateVisualReport` in `visualReport.test.ts`, ensuring correct HTML output and content.
- Update `generateCopilotInstructions` to use a new preferred model.
- Enhance TUI to support model selection and generation options for copilot instructions and agents.
- Introduce `tsup` configuration for building the project.
@pierceboggan pierceboggan marked this pull request as ready for review February 9, 2026 04:51
@pierceboggan pierceboggan merged commit fb4d512 into primer/vnext Feb 9, 2026
1 check failed
digitarald added a commit that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants